home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-1.iso / Files / System7 tools / AppleScript / DateCalculations.sit / About Date Calculations next >
MacBinary  |  1994-03-24  |  1.6 KB  |  [TEXT/ttxt]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: About Date Calculations

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Thu Mar 24 21:41:57 1994, modified Thu Mar 24 21:41:57 1994, creator SimpleText, type ASCII, 1117 bytes "About Date Calculations" , at 0x4dd 332 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[ttxt]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 17 41 62 6f 75 74 20 | 44 61 74 65 20 43 61 6c |..About |Date Cal|
|00000010| 63 75 6c 61 74 69 6f 6e | 73 00 00 00 00 00 00 00 |culation|s.......|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 74 74 78 | 74 01 00 00 00 00 00 00 |.TEXTttx|t.......|
|00000050| 00 00 00 00 00 04 5d 00 | 00 01 4c a9 b7 ff f5 a9 |......].|..L.....|
|00000060| b7 ff f5 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 c0 8e 00 00 |........|........|
|00000080| 44 61 74 65 20 43 61 6c | 63 75 6c 61 74 69 6f 6e |Date Cal|culation|
|00000090| 73 20 69 73 20 61 20 73 | 63 72 69 70 74 69 6e 67 |s is a s|cripting|
|000000a0| 20 61 64 64 69 74 69 6f | 6e 20 74 68 61 74 20 61 | additio|n that a|
|000000b0| 64 64 73 20 73 6f 6d 65 | 20 75 73 65 66 75 6c 20 |dds some| useful |
|000000c0| 64 61 74 65 20 61 6e 64 | 20 74 69 6d 65 20 66 75 |date and| time fu|
|000000d0| 6e 63 74 69 6f 6e 73 20 | 74 6f 20 41 70 70 6c 65 |nctions |to Apple|
|000000e0| 53 63 72 69 70 74 2e 20 | 49 d5 76 65 20 61 6c 73 |Script. |I.ve als|
|000000f0| 6f 20 65 6e 63 6c 6f 73 | 65 64 20 61 20 73 61 6d |o enclos|ed a sam|
|00000100| 70 6c 65 20 61 70 70 6c | 65 74 20 74 6f 20 64 65 |ple appl|et to de|
|00000110| 6d 6f 6e 73 74 72 61 74 | 65 20 74 68 65 69 72 20 |monstrat|e their |
|00000120| 75 73 65 2e 20 49 20 66 | 69 72 73 74 20 77 72 6f |use. I f|irst wro|
|00000130| 74 65 20 74 68 69 73 20 | 61 64 64 69 74 69 6f 6e |te this |addition|
|00000140| 20 66 6f 72 20 41 70 70 | 6c 65 53 63 72 69 70 74 | for App|leScript|
|00000150| 20 31 2e 30 3b 20 41 70 | 70 6c 65 53 63 72 69 70 | 1.0; Ap|pleScrip|
|00000160| 74 20 31 2e 31 20 68 61 | 73 20 6e 65 77 20 64 61 |t 1.1 ha|s new da|
|00000170| 74 65 2f 74 69 6d 65 20 | 63 61 70 61 62 69 6c 69 |te/time |capabili|
|00000180| 74 69 65 73 20 77 68 69 | 63 68 20 6d 61 6b 65 20 |ties whi|ch make |
|00000190| 6f 6e 65 20 6f 72 20 74 | 77 6f 2c 20 62 75 74 20 |one or t|wo, but |
|000001a0| 6e 6f 74 20 61 6c 6c 2c | 20 6f 66 20 74 68 65 20 |not all,| of the |
|000001b0| 66 75 6e 63 74 69 6f 6e | 73 20 6f 62 73 6f 6c 65 |function|s obsole|
|000001c0| 74 65 2e 0d 0d 48 6f 77 | 20 74 6f 20 75 73 65 3a |te...How| to use:|
|000001d0| 20 79 6f 75 20 6d 75 73 | 74 20 68 61 76 65 20 41 | you mus|t have A|
|000001e0| 70 70 6c 65 53 63 72 69 | 70 74 20 69 6e 73 74 61 |ppleScri|pt insta|
|000001f0| 6c 6c 65 64 2e 20 54 68 | 65 20 61 64 64 69 74 69 |lled. Th|e additi|
|00000200| 6f 6e 20 69 74 73 65 6c | 66 20 73 68 6f 75 6c 64 |on itsel|f should|
|00000210| 20 77 6f 72 6b 20 77 69 | 74 68 20 31 2e 30 2c 20 | work wi|th 1.0, |
|00000220| 62 75 74 20 74 68 65 20 | 73 61 6d 70 6c 65 20 61 |but the |sample a|
|00000230| 70 70 6c 65 74 20 77 61 | 73 20 63 6f 6d 70 69 6c |pplet wa|s compil|
|00000240| 65 64 20 77 69 74 68 20 | 31 2e 31 2c 20 61 6e 64 |ed with |1.1, and|
|00000250| 20 69 73 20 75 6e 75 73 | 61 62 6c 65 20 75 6e 64 | is unus|able und|
|00000260| 65 72 20 31 2e 30 2e 20 | 44 72 61 67 20 74 68 65 |er 1.0. |Drag the|
|00000270| 20 d2 44 61 74 65 20 43 | 61 6c 63 75 6c 61 74 69 | .Date C|alculati|
|00000280| 6f 6e 73 d3 20 66 69 6c | 65 20 69 6e 74 6f 20 79 |ons. fil|e into y|
|00000290| 6f 75 72 20 53 63 72 69 | 70 74 69 6e 67 20 41 64 |our Scri|pting Ad|
|000002a0| 64 69 74 69 6f 6e 73 20 | 66 6f 6c 64 65 72 2e 20 |ditions |folder. |
|000002b0| 54 68 61 74 d5 73 20 69 | 74 2e 20 4e 6f 77 20 64 |That.s i|t. Now d|
|000002c0| 6f 75 62 6c 65 2d 63 6c | 69 63 6b 20 74 68 65 20 |ouble-cl|ick the |
|000002d0| d2 4e 5a 20 44 61 79 6c | 69 67 68 74 20 53 61 76 |.NZ Dayl|ight Sav|
|000002e0| 69 6e 67 d3 20 61 70 70 | 6c 65 74 2c 20 61 6e 64 |ing. app|let, and|
|000002f0| 20 69 74 20 73 68 6f 75 | 6c 64 20 64 69 73 70 6c | it shou|ld displ|
|00000300| 61 79 20 61 20 6d 65 73 | 73 61 67 65 20 69 6e 64 |ay a mes|sage ind|
|00000310| 69 63 61 74 69 6e 67 20 | 74 68 65 20 63 75 72 72 |icating |the curr|
|00000320| 65 6e 74 20 73 74 61 74 | 65 20 6f 66 20 44 61 79 |ent stat|e of Day|
|00000330| 6c 69 67 68 74 20 53 61 | 76 69 6e 67 20 74 69 6d |light Sa|ving tim|
|00000340| 65 20 69 6e 20 4e 65 77 | 20 5a 65 61 6c 61 6e 64 |e in New| Zealand|
|00000350| 2e 20 59 6f 75 20 63 61 | 6e 20 6f 70 65 6e 20 74 |. You ca|n open t|
|00000360| 68 69 73 20 61 70 70 6c | 65 74 20 77 69 74 68 20 |his appl|et with |
|00000370| 74 68 65 20 53 63 72 69 | 70 74 20 45 64 69 74 6f |the Scri|pt Edito|
|00000380| 72 20 61 6e 64 20 6c 6f | 6f 6b 20 61 74 20 74 68 |r and lo|ok at th|
|00000390| 65 20 73 63 72 69 70 74 | 20 74 6f 20 73 65 65 20 |e script| to see |
|000003a0| 68 6f 77 20 69 74 20 77 | 6f 72 6b 73 2e 0d 0d 46 |how it w|orks...F|
|000003b0| 65 65 6c 20 66 72 65 65 | 20 74 6f 20 73 65 6e 64 |eel free| to send|
|000003c0| 20 63 6f 6d 6d 65 6e 74 | 73 20 61 6e 64 20 62 75 | comment|s and bu|
|000003d0| 67 20 72 65 70 6f 72 74 | 73 20 74 6f 3a 0d 0d 4c |g report|s to:..L|
|000003e0| 61 77 72 65 6e 63 65 20 | 44 d5 4f 6c 69 76 65 69 |awrence |D.Olivei|
|000003f0| 72 6f 0d 49 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 26 |ro.Infor|mation &|
|00000400| 20 54 65 63 68 6e 6f 6c | 6f 67 79 20 53 65 72 76 | Technol|ogy Serv|
|00000410| 69 63 65 73 20 44 65 70 | 74 0d 55 6e 69 76 65 72 |ices Dep|t.Univer|
|00000420| 73 69 74 79 20 6f 66 20 | 57 61 69 6b 61 74 6f 0d |sity of |Waikato.|
|00000430| 48 61 6d 69 6c 74 6f 6e | 0d 4e 65 77 20 5a 65 61 |Hamilton|.New Zea|
|00000440| 6c 61 6e 64 0d 49 6e 74 | 65 72 6e 65 74 20 6d 61 |land.Int|ernet ma|
|00000450| 69 6c 3a 20 6c 64 6f 40 | 77 61 69 6b 61 74 6f 2e |il: ldo@|waikato.|
|00000460| 61 63 2e 6e 7a 2e 0d 0d | 43 6f 70 79 72 69 67 68 |ac.nz...|Copyrigh|
|00000470| 74 20 a9 20 31 39 39 34 | 20 62 79 20 4c 61 77 72 |t . 1994| by Lawr|
|00000480| 65 6e 63 65 20 44 d5 4f | 6c 69 76 65 69 72 6f 2e |ence D.O|liveiro.|
|00000490| 20 54 68 69 73 20 63 6f | 64 65 20 6d 61 79 20 62 | This co|de may b|
|000004a0| 65 20 63 6f 70 69 65 64 | 20 61 6e 64 20 64 69 73 |e copied| and dis|
|000004b0| 74 72 69 62 75 74 65 64 | 2c 20 62 75 74 20 6e 6f |tributed|, but no|
|000004c0| 74 20 66 6f 72 20 64 69 | 72 65 63 74 20 63 6f 6d |t for di|rect com|
|000004d0| 6d 65 72 63 69 61 6c 20 | 67 61 69 6e 2e 00 00 00 |mercial |gain....|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 01 00 00 00 01 1a | 00 00 00 1a 00 00 00 32 |........|.......2|
|00000510| 00 00 00 02 03 4d 50 57 | 01 00 00 00 00 26 00 00 |.....MPW|.....&..|
|00000520| 02 cd 9f 71 28 65 a9 b7 | b4 ed 00 00 00 00 01 48 |...q(e..|.......H|
|00000530| 17 41 62 6f 75 74 20 44 | 61 74 65 20 43 61 6c 63 |.About D|ate Calc|
|00000540| 75 6c 61 74 69 6f 6e 73 | 02 00 00 00 54 45 58 54 |ulations|....TEXT|
|00000550| 00 00 54 45 58 54 74 74 | 78 74 01 00 03 c0 00 e7 |..TEXTtt|xt......|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 a9 b7 b7 69 00 00 | 04 5d 00 00 01 4c 01 00 |.....i..|.]...L..|
|00000580| 00 00 00 00 f6 fe 00 00 | 00 02 30 0a 00 02 40 00 |........|..0...@.|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 a9 8a b9 dc a9 8a |........|........|
|000005a0| b9 e1 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 02 2f 00 03 02 4e 00 01 |........|./...N..|
|000005c0| 02 b5 00 02 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 15 00 00 00 |........|........|
|000005e0| 00 02 0f 50 72 69 6e 74 | 65 72 53 68 61 72 65 20 |...Print|erShare |
|000005f0| 47 58 02 00 02 00 61 70 | 70 65 50 74 53 72 21 80 |GX....ap|pePtSr!.|
|00000600| 00 00 00 16 00 01 00 00 | 00 00 00 10 00 0c 00 01 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 01 00 00 00 |........|........|
|00000620| 01 1a 00 00 00 1a 00 00 | 00 32 00 83 25 c8 17 82 |........|.2..%...|
|00000630| 00 00 00 1c 00 32 00 00 | 73 74 79 6c 00 00 00 0a |.....2..|styl....|
|00000640| 00 80 ff ff 00 00 00 00 | 00 83 a6 2c 00 00 00 00 |........|...,....|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+